package com.woniu.microassetserver.mapper;

import com.woniu.microcommonsserver.entity.PrincipalEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PrincipalMapper {

    /**
     * 根据参数进行分页查询
     * @param principalEntity
     * @return
     * @author luoyue
     */
    List<PrincipalEntity> findAllByParams(@Param("pe")PrincipalEntity principalEntity);
}
